Unlike most of the other commands of the CommandService API, the runClientCommandQuarantine web method takes as its argument a QuarantineCommand object that specifies detailed parameters. You must also assign the appropriate Host Integrity policy and Quarantine policy to the clients on which you run this command.
The Quarantine command requires that you assign a policy to the quarantine location. This prerequisite can be satisfied through the management console or by using the command assignQuarantinePolicy, which is new as of 14. You cannot assign a policy to this location by a call to the assignPolicy() or importPolicy() web methods.
Although the Quarantine location is available in the management console, you cannot place clients into this location manually from the console. This functionality is available only by using the runClientCommandQuarantine API.
A high-level view of the Quarantine workflow looks like the following:
Decide which client computers should be placed in Quarantine, according to criteria that you determine with or without the use of other APIs in this SDK.
Make sure that a Host Integrity policy is assigned to the group(s) that these clients belong to. Also, make sure that a Quarantine policy is assigned to the Quarantine location for this group.
Call the runClientCommandQuarantine web method. The call places the specified client computers in the Quarantine location for the group, and the location policy is assigned to the clients.
For more information about Endpoint Protection locations and about customizing policies, see the product documentation.
For detailed information, see the Reference Guide and the sample code that accompany this Integration Guide.